package org.foreveross.que.infra.base.constant;

public class SysConstants {
	
	public final static String DATE_FORMAT = "yyyy-mm-dd HH:mm";
	
	/**置顶**/
	public final static Integer STICKIE = 1;
	/**不置顶**/
	public final static Integer NO_STICKIE = 0;
	/**系统类型**/
	public final static String SYS_TYPE_TALUO = "taluo";
	/**上传图片最大**/
	public final static int UPLOAD_IMG_MAX_SIZE = 1024*1024;
	/**
	 * 上传图片路径，如果为null，则默认系统主目录下的/images/attached文件夹下；
	 * 如果上传图片其它路径请设置。
	 **/
	public static final String UPLOAD_IMAGES_URL = null;
	/**客服角色id**/
	public static final String CUSTOMER_SERVICE_ROLE = "1";
	/**客户角色id**/
	public static final String CUSTOMER_ROLE = "3";
	
	public static String SPRING_SECURITY_CONTEXT = "SPRING_SECURITY_CONTEXT";
	
	public static Integer ZERO_INT = 0;
	
	public static Integer ONE_INT = 1;
	
	public final static String PASSWORD_KEY = "3b9a4ff0914769cb";//通用密码
	
	public final static String AVAIL_MENUS = "availMenus";//session权限内有效的功能菜单
	
	public final static String DEFAULT_PASS = "123456";//自动生成账号默认密码
	
	public final static String SYS_ENTITY = "SYS_ENTITY";
	
	public final static int LUCENE_MAX_COUNT = 100;//全文搜索最大的条数
	
	public final static String LUCENE_ENTITYS = "TopicEntity";

}
